package com.oneday.ashop.console.test;

/**
 * User:bob.yang
 * Date 2016/7/12 0012
 */
public enum Color {
    RED(1, "红色"), BLACK(2, "黑色"), BLUE(3, "蓝色");

    private int id;
    private String name;
    private Color(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
